package com.pda.xinma.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import com.pda.xinma.R;
import com.pda.xinma.bean.FullInventoryListBean;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;

import java.util.List;

public class FullInventoryListAdapter extends BaseAdapter<FullInventoryListBean> {
    public FullInventoryListAdapter(int layoutResId, @Nullable List<FullInventoryListBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, FullInventoryListBean item) {
        super.convert(helper, item);
        helper.setText(R.id.tv_taskNo,item.getTaskNo());
        helper.setText(R.id.tv_createTime,item.getStartTime());
        helper.setText(R.id.tv_displayName,item.getDisplayName());
        helper.setText(R.id.tv_countStatusStr,item.getCountStatusStr());
    }
}
